Hadoop comes with several MapReduce applications. In the Docker container, these applications are in share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.6.jar . You can see a list of all the applications by running yarn jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.6.jar

Each of these MapReduce applications can be run in the terminal. To see how to run a specific application, append the application name to the end of the command line. For example, to see how to run wordcount, run yarn jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.3.6.jar wordcount

The output tells you how to run wordcount:

Usage: wordcount <in> [<in>...] <out>

The <in> and <out> denote the names of the input and output, respectively. The square brackets around the second <in> mean that the second input is optional, and the ... means that more than one input can be used.

This usage says that WordCount is run with one or more inputs and one output, the input(s) are specified first, and the output is specified last.